﻿@inherits LayoutComponentBase

<Layout SideWidth="0" IsPage="true" IsFullSide="true" IsFixedHeader="true" IsFixedFooter="false"
        ShowFooter="true" ShowGotoTop="true" ShowCollapseBar="true" Menus="@MenuItems"
        UseTabSet="true" TabDefaultUrl="/Admin/Index">
    <Header>
        <span class="ms-3 flex-fill">Bootstrap of Blazor</span>
        <img src="/images/Argo.png" class="layout-avatar-right" />
        <span class="mx-3 d-none d-sm-block">@DisplayName</span>
        <div class="layout-drawer"><i class="fa fa-gears"></i></div>
    </Header>
    <Side>
        <div class="layout-banner">
            <img class="layout-logo" src="/images/brand.png" />
            <div class="layout-title">
                <span>@Title</span>
            </div>
        </div>
        <div class="layout-user">
            <img class="layout-avatar" src="/images/Argo-C.png">
            <div class="layout-title">
                <span>@DisplayName</span>
            </div>
            <div class="layout-user-state"></div>
        </div>
    </Side>
    <Main>
        @Body
    </Main>
    <Footer>
        <div class="flex-fill text-center text-dark">@Footer</div>
    </Footer>
    <NotAuthorized>
        <RedirectToLogin />
    </NotAuthorized>
</Layout>
